package com.suyuan.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class ProInspectInfo {
    //检验检疫信息编号
    private Integer gid;
    //公司名称
    private Integer compid;
    //生猪编号
    private Integer purcid;
    //产品ID
    private Integer productid;
    //检疫时间
    private Date inspecttime;
    //检验种类
    private Integer inspectype;
    //检疫部位
    private String inspectposition;
    //检疫结果
    private String resulttype;
    //检疫备注
    private String resultnotes;
    //检疫人id
    private Integer inspectorid;
    //检疫人姓名
    private String inspectorname;
    //屠宰流水线ID
    private Integer proclineid;
    //屠宰流水线名称
    private String proclinename;
    //检验环节编号
    private Integer segmentid;
    // 检验环节名称
    private String segmentname;
    //备用
    private String reserve1;

    public Integer getGid() {
        return gid;
    }

    public void setGid(Integer gid) {
        this.gid = gid;
    }

    public Integer getCompid() {
        return compid;
    }

    public void setCompid(Integer compid) {
        this.compid = compid;
    }

    public Integer getPurcid() {
        return purcid;
    }

    public void setPurcid(Integer purcid) {
        this.purcid = purcid;
    }

    public Integer getProductid() {
        return productid;
    }

    public void setProductid(Integer productid) {
        this.productid = productid;
    }

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT-8")
    public Date getInspecttime() {
        return inspecttime;
    }

    public void setInspecttime(Date inspecttime) {
        this.inspecttime = inspecttime;
    }

    public Integer getInspectype() {
        return inspectype;
    }

    public void setInspectype(Integer inspectype) {
        this.inspectype = inspectype;
    }

    public String getInspectposition() {
        return inspectposition;
    }

    public void setInspectposition(String inspectposition) {
        this.inspectposition = inspectposition == null ? null : inspectposition.trim();
    }

    public String getResulttype() {
        return resulttype;
    }

    public void setResulttype(String resulttype) {
        this.resulttype = resulttype == null ? null : resulttype.trim();
    }

    public String getResultnotes() {
        return resultnotes;
    }

    public void setResultnotes(String resultnotes) {
        this.resultnotes = resultnotes == null ? null : resultnotes.trim();
    }

    public Integer getInspectorid() {
        return inspectorid;
    }

    public void setInspectorid(Integer inspectorid) {
        this.inspectorid = inspectorid;
    }

    public String getInspectorname() {
        return inspectorname;
    }

    public void setInspectorname(String inspectorname) {
        this.inspectorname = inspectorname == null ? null : inspectorname.trim();
    }

    public Integer getProclineid() {
        return proclineid;
    }

    public void setProclineid(Integer proclineid) {
        this.proclineid = proclineid;
    }

    public String getProclinename() {
        return proclinename;
    }

    public void setProclinename(String proclinename) {
        this.proclinename = proclinename == null ? null : proclinename.trim();
    }

    public Integer getSegmentid() {
        return segmentid;
    }

    public void setSegmentid(Integer segmentid) {
        this.segmentid = segmentid;
    }

    public String getSegmentname() {
        return segmentname;
    }

    public void setSegmentname(String segmentname) {
        this.segmentname = segmentname == null ? null : segmentname.trim();
    }

    public String getReserve1() {
        return reserve1;
    }

    public void setReserve1(String reserve1) {
        this.reserve1 = reserve1 == null ? null : reserve1.trim();
    }
}